package com.bw.module_attendance.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.BaseResponse
import com.bw.module_patrol.entity.PatrolEntity
import retrofit2.http.*
/**
 * 工单-智慧园区-巡逻管理
 */
interface PatrolApiService :BaseApiServer{
    @GET("/api/patrol-tasks")
    suspend fun getPatrol():BaseResponse<List<PatrolEntity>>

    @PUT("/api/patrol-tasks/{id}")
    suspend fun updatePatrol(@Path("id")id:Int,@Body patrolEntity: PatrolEntity):BaseResponse<PatrolEntity>
}